﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;

/// <summary>
/// 레이드 보스 리스트
/// </summary>
public struct PT_C2S_RAIDBOSS_LIST
{
	public string MsgID;
	public int t;
	public void Reset()
	{
		MsgID = "/raidboss/list";
	}
	
	public void PushData(ref NetMsg msg)
	{
		msg.AddField("t", t);
		
		msg.MsgID = MsgID;
	}
}

public struct PT_C2S_START_RAIDBOSS_BATTLE
{
	public string MsgID;
	public long legionId;
	public int page;
	public long friendId;
	
	public void Reset()
	{
		MsgID = "/raidboss/raid";
	}
	
	public void PushData(ref NetMsg msg)
	{
		msg.MsgID = MsgID;
		msg.AddField("legionid", legionId);
		msg.AddField("page", page);
		msg.AddField("fri", friendId);
	}
}

public struct PT_C2S_END_RAIDBOSS_BATTLE
{
	public string MsgID;
	public int res;
	public int decHp;
	public int[] cs;
	
	public void Reset()
	{
		MsgID = "/raidboss/res";
	}
	
	public void PushData(ref NetMsg msg)
	{
		msg.MsgID = MsgID;
		msg.AddField("res", res);
		msg.AddField("dechp", decHp);
		msg.AddField("cs", cs);
	}
}